﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="QR_Print.aspx.cs" Inherits="QR_Print"
    Title="Impresión del QR" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>Inicio de sesión</title>

    <script type="text/javascript" src="JS/jquery/js/jquery.js"></script>

    <script type="text/javascript" src="JS/jquery/js/qrcode.js"></script>

    <script type="text/javascript" src="JS/jquery/js/jquery.qrcode.js"></script>

    <style type="text/css" media="print">
        .noprint
        {
            display: none;
        }
    </style>
</head>
<body style="width:490px;">
    <form id="form1" runat="server">
    <fieldset>
        <legend>¡Capturá tu código!</legend>
        <div style="text-align: center; font-family: Courier New;">
            <h2>
                <asp:Label ID="lbl_Empresa" runat="server"></asp:Label>
            </h2>
            <h3>
                <asp:Label ID="lbl_Publicacion" runat="server"></asp:Label>
            </h3>
        </div>
        <hr />
        <div id="qrcode" style="width: 260px; margin: auto auto;">
        </div>
        <hr />
        <div style="text-align: center; margin: 5px; font-size: small;">
            <span style="font-weight: bold;">Hidden Code 2.0</span> by <span style="font-weight: bold;">
                Underground Systems
            </span>
        </div>
    </fieldset>
    <div style="text-align: center;" class="noprint">
        <a href="#" onclick="javascript:window.print();" alt="imprimir">Imprimir</a>
    </div>

    <script type="text/javascript">
        $(document).ready(
            function() {
                $('#qrcode')
                .qrcode({
                    render	: "canvas",
		            text	: '<%= texto %>'
		        });
            }
        );
    </script>

    </form>
</body>
</html>
